Upgrading and Command Options

When upgrading from an earlier version of RTX, it is recommended that you create a new project and include existing source files. The Visual Studio upgrade wizards may create files with incorrect compile and link options.

When checking the linker command line, the:

Upgrading Applications to RTX 2016 and Visual Studio 2013

Follow the steps below to upgrade a RTSS application built with RTX 2012 and Visual Studio 2012 to RTX 2016 and Visual Studio 2013.

Steps

  1. Open the .vcxproj file in Visual Studio 2013. Click Yes in the prompt to upgrade.
  2. Right-click on the project in Solution Explorer, and then click Properties.
  3. If C Runtime was linked in, change startupCrt.obj to StartupCrt.lib under Configuration Properties > Linker > Input > Additional Dependencies. Change all other references to .obj files to .lib
  4. Change all references of rtxlibcmt.lib to libcmt.lib .

Upgrading Applications to RTX 2016 and Visual Studio 2015

Follow the steps below to upgrade a RTSS application built with RTX 2012 and Visual Studio 2012 to RTX 2016 and Visual Studio 2015.

Steps

  1. Open the .vcxproj file in Visual Studio 2015. Click Yes in the prompt to upgrade.
  2. Right-click on the project in Solution Explorer, and then click Properties.
  3. If C Runtime was linked in, change startupCrt.obj to StartupCrt.lib under Configuration Properties > Linker > Input > Additional Dependencies. Change all other references to .obj files to .lib
  4. Change all references of rtxlibcmt.lib to libcmt.lib .
  5. If Additional Dependencies references libcmt.lib, you must also add libucrt.lib and libvcruntime.lib. If you are using libcmtd.lib (Debug libraries) you must use libucrtd.lib and libvcruntimed.lib.

 

 

See Also

IntervalZero.com | Support | Give Feedback